package com.pine.common.beans.pineframework.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 动态线程池参数刷新请求体
 * </p>
 *
 * @author pine manage
 * @since 2024-08-29
 */
@Data
@Schema(title = "DynamicThreadPoolRefreshRequest", description = "动态线程池参数刷新请求体")
public class DynamicThreadPoolRefreshRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = -7671432138477480695L;

    @NotBlank(message = "业务编码不能为空")
    @Schema(title = "businessCode", description = "业务编码")
    private String businessCode;

    @NotBlank(message = "业务Key不能为空")
    @Schema(title = "businessKey", description = "业务Key")
    private String businessKey;
}
